package com.lfs.admin.dao;

import com.lfs.admin.model.entity.dataPackage.TitleWordEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *
**/
public interface TitleWordDao {
    int deleteByPrimaryKey(Integer id);

    int insert(TitleWordEntity record);

    int insertSelective(TitleWordEntity record);

    TitleWordEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TitleWordEntity record);

    int updateByPrimaryKey(TitleWordEntity record);

    int insertBatch(@Param("list") List<TitleWordEntity> titleWordEntity);

    List<TitleWordEntity> TitleWordListByTitleType(@Param("titleType") String titleType);
}